package com.core.user.controller;

import com.core.user.entity.TUser;
import com.core.user.mapper.TUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.annotation.PostConstruct;

/**
 * @author hzz
 * @Date: 2020/6/24 15:46
 */
@RestController
@RequestMapping("/field")
public class FieldController {
    @Autowired
    private TUserMapper tUserMapper;
    @PostConstruct
    public void fun(){
        TUser tUser = tUserMapper.selectByPrimaryKey();
        System.out.println(tUser);
    }
}
